package exceptexample;

public class ArraryOutofBound {
    public static void main(String[] args) {
        String[] arr = {"abc","def", "xy"};

        for (int i = 0; i < 5; i++) {
            System.out.println(arr[i]);
        }
    }
}
